package com.jic.manager.response;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;
import java.util.List;

@Data
@Getter
@Setter
public class SysMenuResponse {
    //菜单编号
    private Long id;
    //所属平台 0:运营 1:商家 2:供应商
    private String owningPlatform;
    //菜单名称
    private String name;
    //上级菜单编号
    private String pid;
    //请求地址
    private String url;
    //按钮授权(多个用逗号分隔，如：sys:user:add,sys:user:edit)
    private String perms;
    //叶子节点(0:树枝节点;1:叶子节点)
    private String leaf;
    //排序号
    private Integer sort;
    //备注
    private String remark;
    //节点图标
    private String icon;
    //菜单类型(0:模块;1:菜单;2:按钮)
    private String types;
    //创建时间
    private Date createTime;
    //创建人ID
    private Long creator;
    //修改时间
    private Date updateTime;
    //修改人ID
    private Long updator;
    //Y表示删除  N表示未删除
    private String isDelete;

    private Integer level;
    private String parentName;
    private List<SysMenuResponse> children;

}
